package com.igeek.boot.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.igeek.boot.entity.Shelves;
import com.baomidou.mybatisplus.extension.service.IService;
import com.igeek.boot.vo.PageQueryVO;
import com.igeek.boot.vo.ShelfVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jwj
 * @since 2023-12-26
 */
public interface IShelvesService extends IService<Shelves> {

    Page<Shelves> findPage(PageQueryVO pageQueryVO);

    List<Shelves> findAllByWarehouseId(Integer warehouseId);

    List<Shelves> findAll();

    boolean delShelves(Integer id);

    boolean addShelvesInfo(Shelves shelves);

    boolean updateShelvesBaseInfo(Shelves shelves);

    //根据id查询货架信息
    Shelves findOneById(Integer id);

    List<ShelfVO> findAllShelfAndAssets();
}
